package com.wzx.user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzx.user.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/3/11 - 14:32
 * @description 标题
 */
@Data
@TableName("t_binding")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Binding", description = "绑定表")
public class Binding extends BasePojo {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(notes = "主键id", required = true)
    private Integer id;

    @TableField("typeId")
    @ApiModelProperty(value = "类型id")
    private String typeId;

    @TableField("typeName")
    @ApiModelProperty(value = "类型名称")
    private String typeName;

    @TableField("userId")
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @TableField("name")
    @ApiModelProperty(value = "用户姓名")
    private String name;

    @TableField("idCard")
    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @TableField("phone")
    @ApiModelProperty(value = "手机号")
    private String phone;

    @TableField("photograph")
    @ApiModelProperty(value = "照片")
    private String photograph;

    @TableField("zfbUserId")
    @ApiModelProperty(value = "支付宝用户id")
    private String zfbUserId;
}
